package org.wk.common.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface UploadService {

    Map<String, String> doUpload(MultipartFile multipartFile, String contentType) throws Exception ;
    // 抓取网络图片
    Map<String,String> uploadImageByUrl(String url, String contentType)throws Exception;
}
